package com.dog.basics.bean.dto.api.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author guoy
 * @since 2020-03-23
 */
@Data
public class UserRegisterDto implements Serializable {


    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码", dataType = "String", required = true)
    private String code;

    /**
     * 登录密码
     */
    @NotBlank(message = "登录密码不能为空")
    @ApiModelProperty(value = "登录密码", dataType = "String", required = true)
    private String loginPassword;


    /**
     * 手机号码
     */
    @NotBlank(message = "手机号码(或者邮箱)不能为空")
    @ApiModelProperty(value = "手机号码(或者邮箱)", dataType = "String", required = true)
    private String userMobile;


}
